﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CThru.BuiltInAspects
{
	public class Stub: CommonAspect
	{
		public Stub(Predicate<InterceptInfo> shouldIntercept) : base(shouldIntercept) {}

		public override void MethodBehavior(DuringCallbackEventArgs e)
		{
			e.MethodBehavior = MethodBehaviors.SkipActualMethod;
			base.MethodBehavior(e);
		}
	}
}
